Bug 536542 – gtk_list_store_set() documentation doesn't say whether
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 11 Sep 2008 19:31:04 +0000 (19:31 +0000)
committerCosimo Cecchi <cosimoc@src.gnome.org>
Thu, 11 Sep 2008 19:31:04 +0000 (19:31 +0000)
2008-09-11  Cosimo Cecchi  <cosimoc@gnome.org>

Bug 536542 – gtk_list_store_set() documentation doesn't say whether
values are copied.

* gtk/gtkliststore.c:
* gtk/gtktreestore.c:
Explicitly mention in the docs that gtk_[list,tree]_store_set copies
or keep a reference of the values.

svn path=/trunk/; revision=21349

ChangeLog
gtk/gtkliststore.c
gtk/gtktreestore.c

index 45587fda7cad16d2243086d405f9ca2853c7603c..6ac5bf06dc0995a091009ccdc7110e4aa8819018 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-09-11  Cosimo Cecchi  <cosimoc@gnome.org>
+
+       Bug 536542 – gtk_list_store_set() documentation doesn't say whether
+       values are copied.
+
+       * gtk/gtkliststore.c:
+       * gtk/gtktreestore.c:
+       Explicitly mention in the docs that gtk_[list,tree]_store_set copies
+       or keep a reference of the values.
+
 2008-09-11  Marek Kasik  <mkasik@redhat.com>
 
        Bug 551378 - Print dialog: should try UDS when fetching PPD for
index 24d69f2355d50581102f01c1fbcf5226ccc24639..e24cd76dd90c3a2ccb1b7a89d2ade9e5e376f5cd 100644 (file)
@@ -922,6 +922,7 @@ gtk_list_store_set_valist (GtkListStore *list_store,
  * The list is terminated by a -1. For example, to set column 0 with type
  * %G_TYPE_STRING to "Foo", you would write <literal>gtk_list_store_set (store, iter,
  * 0, "Foo", -1)</literal>.
+ * The value will be copied or referenced by the store if appropriate.
  **/
 void
 gtk_list_store_set (GtkListStore *list_store,
index 4175d4949d337ddd1e0372f0a67dd667f51ea5a5..daf9e1a8d8c9072e46c06ca22fe035e72c17235d 100644 (file)
@@ -1070,6 +1070,7 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
  * The list is terminated by a -1. For example, to set column 0 with type
  * %G_TYPE_STRING to "Foo", you would write 
  * <literal>gtk_tree_store_set (store, iter, 0, "Foo", -1)</literal>.
+ * The value will be copied or referenced by the store if appropriate.
  **/
 void
 gtk_tree_store_set (GtkTreeStore *tree_store,